﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class DeliveryRobot:Robot
    {
        private string hours;

        public string Hours { get => hours; set => hours = value; }

        public DeliveryRobot(string name, RobotType type, string hours) : base(name,type)
        {
            this.hours = hours;
        }
        public override void Working()
        {
            Console.WriteLine("传菜");
        }
    }
}
